package com.ramnight.unify.kit;

import lombok.Data;

@Data
public class UnifyPage {
	private int pageNum;
	private int pageSize;
	private int totalNum;
	private int totalPage;

	public static UnifyPage of(int pageNum, int pageSize) {
		UnifyPage instance = new UnifyPage();
		instance.setPageNum(pageNum);
		instance.setPageSize(pageSize);
		return instance;
	}
}
